package com.weitu.permission.resource.entity;

import java.io.Serializable;

/**
 * Table: SYS_RESOURCE
 */
public class Resource implements Serializable {
    /**
     * Column: SYS_RESOURCE.id
     */
    private String id;

    /**
     * Column: SYS_RESOURCE.code
     */
    private String code;

    /**
     * Column: SYS_RESOURCE.name
     */
    private String name;

    /**
     * Column: SYS_RESOURCE.parentId
     */
    private String parentId;

    /**
     * Column: SYS_RESOURCE.resUrl
     */
    private String resUrl;

    /**
     * Column: SYS_RESOURCE.resType
     */
    private String resType;

    /**
     * Column: SYS_RESOURCE.btnStyle
     */
    private String btnStyle;

    /**
     * Column: SYS_RESOURCE.remarks
     */
    private String remarks;

    /**
     * Column: SYS_RESOURCE.useState
     */
    private Integer useState;

    /**
     * Column: SYS_RESOURCE.delState
     */
    private Integer delState;

    /**
     * Column: SYS_RESOURCE.sort
     */
    private Integer sort;

    /**
     * Column: SYS_RESOURCE.addUserId
     */
    private String addUserId;

    /**
     * Column: SYS_RESOURCE.addTime
     */
    private String addTime;

    /**
     * Column: SYS_RESOURCE.updateUserId
     */
    private String updateUserId;

    /**
     * Column: SYS_RESOURCE.updateTime
     */
    private String updateTime;

    /**
     * Table: SYS_RESOURCE
     */
    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    public String getResUrl() {
        return resUrl;
    }

    public void setResUrl(String resUrl) {
        this.resUrl = resUrl == null ? null : resUrl.trim();
    }

    public String getResType() {
        return resType;
    }

    public void setResType(String resType) {
        this.resType = resType == null ? null : resType.trim();
    }

    public String getBtnStyle() {
        return btnStyle;
    }

    public void setBtnStyle(String btnStyle) {
        this.btnStyle = btnStyle == null ? null : btnStyle.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Integer getUseState() {
        return useState;
    }

    public void setUseState(Integer useState) {
        this.useState = useState;
    }

    public Integer getDelState() {
        return delState;
    }

    public void setDelState(Integer delState) {
        this.delState = delState;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(String addUserId) {
        this.addUserId = addUserId == null ? null : addUserId.trim();
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime == null ? null : addTime.trim();
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId == null ? null : updateUserId.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }
}